export const lazyUrl = {
  install(app) {
    app.directive('lazy', {
      mounted(el, binding) {
        console.log('绑定的元素是', el, '获得的值是,', binding.value)
      },
    })
  },
}

export const HelloWorld = {
  install(app) {
    app.config.globalProperties.$helloWorld = function () {
      console.log('this is a global function , HelloWord!')
    }
  },
}
